﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Poslar.aspx.cs" Inherits="Admin_Poslar" %>

<%@ Register Assembly="CrmControls" Namespace="CrmControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Veyron Crm</title>

    <script type="text/javascript">
    function SilKontrol()
    {
    var txt1idver=document.getElementById('txtCashID');
    if(txt1idver.value!="")
    {
    return true;
    }
    else
    {
    alert("Lütfen Silmek İstediğiniz Kasa Kodunu Girin!..");
    return false;
    }
    }
     function Kontrol()
    {
        var txt1idver=document.getElementById('txtCashID');
        var txt1idver=document.getElementById('txtCashAdi');
        if(txt1idver.value!="")
        {
            return true;
        }
        else
        {
            alert('Kasa Adı ve Kodu Alanını Boş Geçemezsiniz !');
            return false;
        }
   }
    
    function PageClose()
    {
      window.close();
      window.opener.location='../DataList.aspx?type=Pos'; 
    }
    function Refresh()
    {
     window.opener.location='../DataList.aspx?type=Pos'; 
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="ToolBar">
        <table>
            <tr>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydet" AlternateText="Kaydet" ImageUrl="~/images/page/save.gif"
                        OnClick="imgbtnKaydet_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydetKapat" AlternateText="Kaydet ve Kapat"
                        ImageUrl="~/images/page/saveClose.gif" OnClick="imgbtnKaydetKapat_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnSil" AlternateText="Sil" ImageUrl="~/images/page/remove.gif"
                        Style="height: 16px" OnClick="imgbtnSil_Click" />
                </td>
                <td>
                    <asp:ImageButton ID="imgNewREcord" AlternateText="Yeni Kayıt" runat="server" ImageUrl="~/images/page/newrecord.gif"
                        OnClick="imgNewREcord_Click" Style="width: 16px" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table style="width: 600px">
            <asp:Panel ID="pnlControls" runat="server">
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblcashID" runat="server" Text="Kasa Kod"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox ID="txtCashID" runat="server" KontrolTipi="Sayi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashAdi" runat="server" Text="Kasa Ad"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox runat="server" ID="txtCashAdi" Maxlength="25" BuyukHarf="Multi" KontrolTipi="Multi"
                            Width="76%"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblcashdepoid" runat="server" Text="Depo"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmDropDown runat="server" ID="drpcashdepoid" Width="32%">
                        </cc1:CrmDropDown>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblcashtip" runat="server" Text="Kasa Tip"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmDropDown ID="drpCashTip" runat="server" Width="32%">
                            <asp:ListItem Text="INTER MPOS 2001" Value="0"></asp:ListItem>
                            <asp:ListItem Text="GENIUS" Value="1"></asp:ListItem>
                            <asp:ListItem Text="NCR" Value="2"></asp:ListItem>
                        </cc1:CrmDropDown>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashStokExp" runat="server" Text="Stok Dosya Yolu"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox ID="txtCashStokExp" runat="server" Width="76%" BuyukHarf="Multi"
                            Maxlength="300" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashSaleImp" runat="server" Text="Satış Dosya Yolu"></cc1:CrmLabel>
                    </td>
                    <td>
                        <cc1:CrmTextBox ID="txtCashSaleImp" runat="server" Width="76%" BuyukHarf="Multi"
                            Maxlength="300" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashMsg" runat="server" Text="Mesaj Dosya Yolu"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox ID="txtCashMsg" runat="server" Width="76%" BuyukHarf="Multi" Maxlength="300"
                            KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashFatseri" runat="server" Text="Fatura Seri"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox ID="txtCashFatseri" KontrolTipi="Multi" BuyukHarf="Multi" Maxlength="10"
                            runat="server"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblCashNakitKasa" runat="server" Text="Nakit Kasa"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmDropDown ID="drpCashNakitKasa" runat="server" Width="32%">
                        </cc1:CrmDropDown>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel ID="lblPortNo" runat="server" Text="Port Numarası"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmDropDown ID="drpProtNo" runat="server" Width="32%">
                            <asp:ListItem Text="COM1" Value="0"></asp:ListItem>
                            <asp:ListItem Text="COM2" Value="1"></asp:ListItem>
                            <asp:ListItem Text="COM3" Value="2"></asp:ListItem>
                            <asp:ListItem Text="COM4" Value="3"></asp:ListItem>
                            <asp:ListItem Text="COM5" Value="4"></asp:ListItem>
                            <asp:ListItem Text="COM6" Value="5"></asp:ListItem>
                            <asp:ListItem Text="COM7" Value="6"></asp:ListItem>
                            <asp:ListItem Text="COM8" Value="7"></asp:ListItem>
                            <asp:ListItem Text="COM9" Value="8"></asp:ListItem>
                        </cc1:CrmDropDown>
                    </td>
                </tr>
                <tr>
                    <td style="width: 22%;">
                        <cc1:CrmLabel runat="server" ID="lblCashYardimciPrg" Text="Yardımcı Program"></cc1:CrmLabel>
                    </td>
                    <td style="width: 78%;">
                        <cc1:CrmTextBox runat="server" ID="txtCashYardimciPrg" Width="76%" BuyukHarf="Multi"
                            Maxlength="300" KontrolTipi="Multi"></cc1:CrmTextBox>
                    </td>
                </tr>
            </asp:Panel>
        </table>
    </div>
    </form>
</body>
</html>
